package cn.sdormitory.knowledgebase.pojo;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;


/**
 * @author yy
 */
@Data
@TableName(value ="study_skills_exam_record")
public class StudySkillsExamRecord {

  @TableId(value="id")
  @ApiModelProperty(value="主键")
  private Integer id;

  @TableField(value="exam_id")
  @ApiModelProperty(value="考试记录id")
  private Integer examId;

  @TableField(value="questions_id")
  @ApiModelProperty(value="题目id")
  private Integer questionsId;

  @TableField(value="user_answer")
  @ApiModelProperty(value="用户选择的答案")
  private String userAnswer;

  @TableField(value="is_correct")
  @ApiModelProperty(value="是否正确")
  private Boolean isCorrect;

}
